$(function () {
    // 登陆
    $('.register').click(function () {
        var info = {
            phone: $('.phone1').val(),
            username: $('.username1').val(),
            password: $('.password1').val(),
        };
        $.ajax({
            url: 'http://localhost:3000/users/login',
            type: 'post',
            data: info,
            success: function (res) {
                console.log(res);
            }
        })
    })

})